#!/usr/bin/python

from distutils.core import setup, Extension

module1 = Extension('end_glue',
		sources = ['end_glue/end_glue.cpp', 'end_glue/core/end_system/EShellWx.cpp', 'end_glue/core/end_system/EShellWxCanvas.cpp'],
		include_dirs = ['end_glue', 'end_glue/core/end_system/include', 'end_glue/core/end_graphics/include', 'end_glue/third_party/wxWidgets-2.8.9/cygwin/msw-ansi-debug-2.8', 'end_glue/third_party/wxWidgets-2.8.9/include'],
		define_macros = [('_FILE_OFFSET_BITS', 64), ('_LARGE_FILES', None), ('__WXDEBUG__',None), ('WXUSINGDLL', None), ('__WXMSW__', None)],

		library_dirs = ['end_glue/core', 'end_glue/third_party/wxWidgets-2.8.9/cygwin/lib'],
		libraries = ['end_system_g', 'end_graphics_g', 'wx_mswd-2.8', 'wx_mswd_gl-2.8', 'wxregexd-2.8', 'wxexpatd-2.8', 'wxtiffd-2.8', 'wxjpegd-2.8', 'wxpngd-2.8', 'wxzlibd-2.8', 'rpcrt4', 'oleaut32', 'ole32', 'uuid', 'winspool', 'winmm', 'shell32', 'comctl32', 'comdlg32', 'ctl3d32', 'advapi32', 'wsock32', 'gdi32', 'kernel32', 'user32'],
		)

setup (name = 'PackageName',
		version = '1.0',
		description = 'This is a demo package',
		package_dir = {'': 'end_glue'},
		ext_modules = [module1])
